home *** CD-ROM | disk | FTP | other *** search
- onClipEvent(enterFrame){
- this._y = _root.snowball._y - 60;
- this._x = _root.snowball._x;
- prevweight = _root.weight - 145;
- if(_root.weight >= 1000 && prevweight <= 1000 && praise1 == 1)
- {
- this.gotoAndPlay("lookinggood");
- praise1 = 0;
- }
- if(_root.weight >= 1500 && prevweight <= 1500 && praise2 == 1)
- {
- this.gotoAndPlay("lookinggood");
- praise2 = 0;
- }
- if(_root.weight >= 1750 && prevweight <= 1750 && praise3 == 1)
- {
- this.gotoAndPlay("yeah");
- praise3 = 0;
- }
- if(_root.weight >= 2000 && prevweight <= 2000 && praise4 == 1)
- {
- this.gotoAndPlay("awesome");
- praise4 = 0;
- }
- if(_root.weight < 2000)
- {
- praise4 = 1;
- }
- if(_root.weight < 1750)
- {
- praise3 = 1;
- }
- if(_root.weight < 1500)
- {
- praise2 = 1;
- }
- if(_root.weight < 1000)
- {
- praise1 = 1;
- }
- }
-